A Physical Bookmakes a digitized book “physical” by rendering it in a simulated space where properties like gravity, friction, and velocity all apply. The program randomly perturbs the letters, then takes a snapshot at a point in time, re-assembling the images into a new, “un-digitized” book.
A Physical Bookuses the web-based game enginePhaser. Each page of the book is rendered into an invisible
(to produce correct leading and line-height), then copied into the Phaser game world with each letter instantiated as a distinct addressable sprite.
For each page, one of a dozen transformations is applied to give the text varying physical properties, such as mass, acceleration, collision, or opacity.
On page load, the requested chapter number is rendered, the transformation is assigned, and the world is allowed to run. A Selenium wrapper script calls all 500 pages in succession, taking a screenshot at a random point in the animation.
The final book is rendered in a two-page spread PDF.